/* $RCSFile: TextEditor.cs $
 * Apache license v2 2011 by Christian Surieux
 * $Source: ?/ADNCRM.Core/UI/WebControls/TextEditor.cs $
 * $log$
 * Revision 6 2010/08/06 19:56:30  christian.surieux
 *   Added Log to All cs files
 */

using System;

namespace AddonNice.UI.WebControls
{
	/// <summary>
	/// TextEditor is a simple implementation for an html editor. 
	/// Currently implements text only.
	/// </summary>
	public class TextEditor : System.Web.UI.WebControls.TextBox, IHtmlEditor
	{
		public TextEditor()
		{
			TextMode = System.Web.UI.WebControls.TextBoxMode.MultiLine;
			CssClass = "NormalTextBox";
		}


		public string TextContent
		{
			get {   return base.Text; }
			set {   base.Text  =   value;}
		}

		public string TextNoContent
		{
			get {   return base.Text; }
			set {   base.Text  =   value;}
		}

		public string ImageFolder 
		{
			get { return string.Empty; }
			set {;}
		}

        public bool SupportsTranslator
		{
			get 
			{
				return false;
			}
			set
			{
			}
		}
	}
}